package gx.dao.impl.common;

import java.util.List;

import org.springframework.stereotype.Repository;

import gx.dao.WarehouseDao;
import gx.entity.Warehouse;
@Repository
public class WarehouseDaoImpl  extends BaseDaoImpl<Warehouse> implements WarehouseDao {
	public List<Warehouse> findByName(String name) {
		return find("from Warehouse where lname like?", "%" + name + "%");
	}
}
